<?php
class Category extends AppModel{

	var $name = 'Category';

	var $belongsTo = array(
		'Topic' => array(
			'className'	=> 'Topic',
			'foreignKey'	=> 'topic_id'
		)
	);

	var $hasMany = array(
		'Event' => array(
			'className' => 'Event'
		)
	);

}
?>

